package org.dyk.seamanshousefrontdesk.service.user;

import org.dyk.seamanshousefrontdesk.model.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

public interface UserService {
    //用户登录
    public User login(String loginName, String userPassword);

    //用户注册
    public boolean register(String loginName, String userPassword, String userName);

    //修改用户
    public User updataUser(int uid, String userLoginName, String userPassword, String userName);

    //修改用户头像
    public User updataHead(int uid, MultipartFile userImg);
}
